package com.chongaizhen.local.transactional;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;

@MapperScan(basePackages = "com.chongaizhen.local.transactional.mapper")
@SpringBootApplication
//@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)//取消数据源的自动创建
public class Application
{
    public static void main(String[] args)
    {
        SpringApplication.run(Application.class, args);
    }
}